
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QFileInfoList>
#include <QMainWindow>
#include <QTableWidget>
#include <QWidget>

QT_BEGIN_NAMESPACE

QT_END_NAMESPACE
namespace Ui {
    class MainWindow;
}
class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    qint64 recursiveFileInfoSize(QFileInfo entry);
    qint64 recursiveFileInfoCount(QFileInfo entry);
    void setStatus(const QString &text);

private slots:
    void on_projectTableWidget_itemChanged(QTableWidgetItem *item);
    void on_projectTableWidget_itemSelectionChanged();

    void on_openCurrentDir_clicked();

    void on_currentProjectTreeWidget_itemSelectionChanged();

    void on_openFolderExists_clicked();
    void on_pushButton_clean_up_projects_clicked();
    void on_pushButton_clean_up_tmp_projects_clicked();

private:
    Ui::MainWindow *ui;

};

#endif // MAINWINDOW_H

